home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 April / Gamestar_61_2004-04_dvdb.iso / DVDStar / Editace / hltp.exe / {app} / Applications / MapBackup / readme.txt < prev   
Text File  |  2002-11-25  |  2KB  |  36 lines

  1. Mapfile backup application README
  2. 25/11/02 Anthony Moore
  3.  
  4. Version 2.0
  5.  
  6. Instructions:
  7. The actual location of the mapbackup.exe file on the hard drive is irrelevant. Hence, it should be unzipped to a convenient location (eg. beside ZHLT).
  8.  
  9. The Expert compile mode under Worldcraft or Hammer should then be modified, so that this executable is called with the name of the mapfile before CSG. By default, an incremental backup will be created of your mapfile (mapname0000.map, mapname0001.map, etc) in the same directory everytime you compile. 
  10.  
  11. You can change the default behavoir by specifying the appropriate switches described below:
  12.  
  13.  -ext extension   Force a specific extension for all backup files
  14.  -dir             Place backups of all files inside \filename\
  15.  -out path        Force a specific backup path (negates -ext and -dir)
  16.  -max #           Specify a maximum number of backup files to create
  17.  
  18.  -e, -d, -o and -m are also accepted
  19.  
  20. Notes:
  21. - You can pass multiple file paths to backup into commandline parameters.
  22. - If no extension exists on the filepath, the tool attempts to look for both an .rmf and a .map file to backup.
  23. - Once the maximum number of backups is reached (defined by -max), the program starts overwriting at 1 and counts up again.
  24.  
  25. Example: If I wanted to incrementally backup my map and rmf file every compile. I could use the following Expert compile mode command:
  26.  
  27.     mapbackup.exe $path\$file
  28.  
  29. Example: If I wanted to backup only the .rmf, within its own folder, and have 30 incremental backup files at one time. I could use the following Expert compile mode command:
  30.  
  31.     mapbackup.exe $path\$file.rmf -d -m 30
  32.  
  33. Example: I want to backup my map file and my 3rd hull file (mapname.p2) in their own directory, with a maximum of 50 backup files. I couuld use the following Expert compile mode command:
  34.  
  35.     mapbackup.exe $path\$file.map $path\$file.p2 -m 50 -d
  36.